This folder contains an implementation of the" Ultra" pseudo-random number generator. Included are source code written in C/Assembly, a header file and a demo. The code REQUIRES a Macintosh (or other computer with a *Motorola* chip set, version 68020/68881 or higher).
Reference:
Marsaglia, G. and A. Zaman, 1991, "A New Class of Random Number Generators", Annals of Applied Probability, vol. 1(3), pp. 462-480.
The remaining files in this folder were created in/by Think C <TM> but are readable as ordinary text files. The contents are as follows:
Ultra.h A header file containing necessary declarations and definitions
UltraLib.c Source code for the Ultra library
UltraDemo.c Source code for a demonstration program
UltraDemo.out.org Output produced by UltraDemo.c. You should get identical results.
Even though this library has been extensively tested, it is nevertheless version 1.0. Any comments, problems or criticisms from users are welcome.